//
//  MRMessageCenter.h
//  McRemoteServer
//
//  Created by Magic on 1/8/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MRClient.h"
#import "MRMessage.h"

@interface MRMessageCenter : NSObject <MRClientDelegate>

+ (MRMessageCenter *)sharedCenter;

- (void)sendBinaryData:(NSData *)data type:(MRBinaryType)type;

- (void)sendKeycode:(int)keycode withFlag:(int)flag annotated:(BOOL)annotated;
- (void)sendKeycode:(int)keycode withFlag:(int)flag;
- (void)sendKeycode:(int)keycode;

- (void)sendMouseMoveWithOffset:(CGPoint)offset;

- (void)sendFinderMode:(MRFinderMode)mode;

- (void)sendLeftMouseClick;

- (void)sendRightMouseClick;

- (void)sendWheelScrollWithOffset:(CGPoint)offset;

- (void)sendCommandWithTitle:(NSString *)title
                       group:(NSString *)group;

- (void)sendLaunchAppNamed:(NSString *)name;

- (void)sendNeedDockInfo;
- (void)sendNeedDockIconWithName:(NSString *)name;

- (void)sendCommandWithTitle:(NSString *)title group:(NSString *)group;

@end
